#include "startwindow.h"
#include <QApplication>
#include <QTextCodec>
#include"database.h"

int main(int argc, char *argv[])
{
  QTextCodec *codec = QTextCodec::codecForName("UTF-8");
  QTextCodec::setCodecForLocale(codec);
  QApplication a(argc, argv);
  StartWindow w;
  DataBase d;
  d.createConnection();
  d.createTable();
  w.show();
  return a.exec();
}
